<template>
    <div class="container">
        <div class="left">
            <Weather />
            <Search class="search" />
            <Time class="time" />
        </div>
        <div class="right">
            <Poetry />
        </div>
    </div>
</template>

<script>
import Weather from './Weather.vue'
import Time from './Time.vue'
import Search from './Search.vue'
import Poetry from './Poetry.vue'

export default {
    components: {
        Weather,
        Time,
        Search,
        Poetry,
    },
}
</script>

<style lang="less" scoped>
.container {
    font-family: '微软雅黑';
    width: 100%;
    min-height: 100vh;
    background: url('http://h2.ioliu.cn/bing/RothschildGiraffe_ZH-CN9266877986_1920x1080.jpg?imageslim') no-repeat;

    display: flex;

    .left {
        width: 50%;
    }

    .right {
        width: 50%;
        padding-left: 300px;
        padding-top: 50px;
        line-height: 1.5;

        .outer {
            position: fixed;
            right: 18px;
            top: 18px;
            color: #fff;
            font-size: 18px;
            letter-spacing: 3px;
            cursor: pointer;
        }
    }

    .search {
        padding-left: 120px;
        padding-top: 30px;
    }

    .time {
        padding-left: 120px;
        padding-top: 50px;
    }
}
</style>
